<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>跳转开户</title>
	<link rel="shortcut icon" href="/static/favicon.ico"/>
	<script type="text/javascript"  src="${_front_js}/jquery-1.11.1.min.js"></script>
</head>
<body>
	
</body>

<script>

function fuionRegister(){
	$.ajax({
        type: 'post',
        dataType: 'JSON',
        async:'false',
        url: '/fuion/register',
        data:{
        	'userId':${_user.id}
        },
        success: function(result){
			if(result.code == -1) {
				alert(result.msg);
			}else {
				var code=result.entity;
				alert(result.msg+",错误码："+code);
				window.location.href="/account/register";
			}
        }
    });
}

fuionRegister();

</script>
</html>